package org.dtrd.modules.ocr.service;

import org.dtrd.modules.ocr.entity.po.DtrdEntRdOcrMappingTable;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import org.dtrd.modules.ocr.entity.bean.OcrMappingTableDetail;
import org.dtrd.modules.ocr.entity.bean.OcrMappingTableListInfo;
import org.dtrd.modules.ocr.entity.bean.OcrMappingTableListRequest;
import org.dtrd.modules.ocr.entity.bean.OcrMappingTablePageRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author sun
 * @since 2022-09-07
 */
public interface IDtrdEntRdOcrMappingTableService extends IService<DtrdEntRdOcrMappingTable> {

    List<OcrMappingTableListInfo> getOcrMappingTableList(OcrMappingTableListRequest request);

    IPage<OcrMappingTableListInfo> pageOcrMappingTable(OcrMappingTablePageRequest request);

    OcrMappingTableDetail getOcrMappingTable(Integer dataId);

    boolean saveOrUpdateOcrMappingTable(OcrMappingTableDetail dto);

    boolean removeOcrMappingTable(Integer dataId);
}
